#ifndef ddz2_ComView_h
#define ddz2_ComView_h


#include "dev/PreInclude.h"
#include "dev/DevInclude.h"

class SelectPockPanel:public TPanel{
public:
    SelectPockPanel();
     
    CREATE_FUNC(SelectPockPanel);
    virtual bool init();
    virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
    virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
    virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
    virtual void ccTouchesCancelled(CCSet *pTouches, CCEvent *pEvent);
    
    int curTime;
    CCNode* getItemByX(int nX,int nY);
    
    DEV_PROPERTY(bool, m_bSelectable, SelectAble);
};


#endif
